package com.ktjy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ktjy.mapper.SysRoleMapper;
import com.ktjy.pojo.SysRole;
import com.ktjy.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService {
    @Autowired
    private SysRoleMapper sysRoleMapper;

    /**
     * 获取角色列表
     * @return
     */
    @Override
    public List<SysRole> getRoleList() {
        return sysRoleMapper.getRoleList();
    }
}
